package com.utooo.pojo.domain.supplier.settlement;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.utooo.pojo.domain.BaseDO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("aigis_ddglfp_202504281154129")
public class SupplierOrderInvoiceAssociationDO extends BaseDO {

    /**
     * 来源单号
     */
    @TableField("relationFormField101")
    private String sourceDocumentNo;

    /**
     * 开票单号
     */
    @TableField("comInputField103")
    private String invoiceNo;

    /**
     * 对票人
     */
    @TableField("userSelectField104")
    private String invoicer;

    /**
     * 公司
     */
    @TableField("selectField105")
    private String company;

    /**
     * 供应商名称
     */
    @TableField("selectField106")
    private String supplierName;

    /**
     * 供应商编码
     */
    @TableField("comInputField107")
    private String supplierCode;

    /**
     * 采方备注
     */
    @TableField("comInputField108")
    private String buyerRemark;

    /**
     * 发票代码
     */
    @TableField("popupTableSelectField110")
    private String invoiceCode;

    /**
     * 发票号码
     */
    @TableField("comInputField111")
    private String invoiceSerialNo;

    /**
     * 不含税金额
     */
    @TableField("numInputField112")
    private BigDecimal amountExcludingTax;

    /**
     * 税额
     */
    @TableField("numInputField113")
    private BigDecimal taxAmount;

    /**
     * 价税合计
     */
    @TableField("numInputField114")
    private BigDecimal totalAmountIncludingTax;

    /**
     * 开票抬头
     */
    @TableField("comInputField115")
    private String invoiceTitle;

    /**
     * 购买方纳税人识别号
     */
    @TableField("comInputField116")
    private String buyerTaxpayerId;

    /**
     * 购买方地址、电话
     */
    @TableField("comInputField117")
    private String buyerAddressAndPhone;

    /**
     * 购买方开户行及账号
     */
    @TableField("comInputField118")
    private String buyerBankAndAccount;

    /**
     * 销售方
     */
    @TableField("comInputField119")
    private String seller;

    /**
     * 销售方纳税人识别号
     */
    @TableField("comInputField120")
    private String sellerTaxpayerId;

    /**
     * 销售方地址、电话
     */
    @TableField("comInputField121")
    private String sellerAddressAndPhone;

    /**
     * 销售方开户行及帐号
     */
    @TableField("comInputField122")
    private String sellerBankAndAccount;

    /**
     * 开票引用单据类型
     */
    @TableField("selectField124")
    private String referenceDocumentType;

    /**
     * 发票待关联总金额
     */
    @TableField("numInputField125")
    private BigDecimal pendingAssociationAmount;

    /**
     * 本次关联总金额
     */
    @TableField("numInputField126")
    private BigDecimal currentAssociationAmount;

    /**
     * 采购方订单关联发票ID
     */
    @TableField("comInputField160")
    private String purchaseOrderInvoiceId;
}